package com.boss.salary.service;

import com.boss.common.entity.PageDTO;
import com.boss.framework.dto.PaginationDTO;
import com.boss.salary.entity.AgencyExt;
import com.boss.salary.entity.AgencyInfo;

import java.util.List;

public interface IAgencyExtService {
    /**
     * 新增
     * @param agencyExt
     */
    void insertAgencyExt(AgencyExt agencyExt);

    /**
     * 根据id删除
     * @param id
     */
    void deleteAgencyExt(String id);

    /**
     * 修改
     * @param agencyExt
     */
    void updateAgencyExt(AgencyExt agencyExt);

    /**
     * 修改
     * @param agencyExt
     */
    void updateAgencyExtBank(AgencyExt agencyExt);

    /**
     * 分页查询
     * @param paginationDTO
     * @return
     */
    PageDTO<AgencyExt> queryAgencyExtPage(PaginationDTO paginationDTO);

    /**
     * 送审
     * @param agencyInfoList
     */
    void submitVerify(List<AgencyInfo> agencyInfoList);

    /**
     * 撤销送审
     * @param agencyInfoList
     */
    void revokeVerify(List<AgencyInfo> agencyInfoList);
}
